let list_fn=async (ctx,next)=>{
ctx.body='hahha'
};
let add_fn=async (ctx,next)=>{
    ctx.body='hahewreraha'
};
let edit_fn=async (ctx,next)=>{
    ctx.body='hartgrhha'
};
let delete_fn=async (ctx,next)=>{
    ctx.body='hahgfhrgfha'
};
let details_fn=async (ctx,next)=>{
    ctx.body='hajyjhha'
};


module.exports={
    '/products/list':['get',list_fn],
    '/products/add':['post',add_fn],
    '/products/edit':['put',edit_fn],
    '/products/delete':['delete',delete_fn],
    '/products/details':['get',details_fn],
}